package com.sun.service.options;

import com.sun.model.entity.Options;
import com.sun.model.example.OptionsExample;
import com.sun.model.mapper.OptionsMapper;
import com.until.server.BaseService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.HttpMethod;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author AdminUser
 */
@Service
public class OptionsService extends BaseService<Options, OptionsExample,String> implements OptionsMapper {
    @Autowired
    private OptionsMapper optionsMapper;

    @Override
    public long countByExample(OptionsExample example) {
        return 0;
    }

    @Override
    public int deleteByExample(OptionsExample example) {
        return 0;
    }

    @Override
    public int deleteByPrimaryKey(Integer id) {
        return 0;
    }

    @Override
    public int insert(Options record) {
        return 0;
    }

    @Override
    public int insertSelective(Options record) {
        return 0;
    }

    @Override
    public List<Options> selectByExample(OptionsExample example) {
        return null;
    }

    @Override
    public Options selectByPrimaryKey(Integer id) {
        return null;
    }

    @Override
    public int updateByExampleSelective(Options record, OptionsExample example) {
        return 0;
    }

    @Override
    public int updateByExample(Options record, OptionsExample example) {
        return 0;
    }

    @Override
    public int updateByPrimaryKeySelective(Options record) {
        return 0;
    }

    @Override
    public int updateByPrimaryKey(Options record) {
        return 0;
    }

    @Override
    public List<Options> coreSelection(Options model, String action, HttpMethod method) throws Exception {
        return selectByExample(this.getExtension(model, action, method));
    }
}
